﻿using System;

namespace LTJ.Entity
{
    /// <summary>
    /// 用户组信息实体
    /// </summary>
    [Serializable]
    public class UserGroupInfo
    {
        #region Model
        private int _id;
        private string _name = "";
        private int _sort = 0;
        private int _auths = 0;
        private int _status = 1;
        private string _backup = "";
        /// <summary>
        /// 组ID
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 用户组名称
        /// </summary>
        public string name
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 组别排序
        /// </summary>
        public int sort
        {
            set { _sort = value; }
            get { return _sort; }
        }
        /// <summary>
        /// 权限级别值
        /// </summary>
        public int auths
        {
            set { _auths = value; }
            get { return _auths; }
        }
        /// <summary>
        /// 默认1，正常；0，暂停；2，删除。
        /// </summary>
        public int status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 备用字段
        /// </summary>
        public string backup
        {
            set { _backup = value; }
            get { return _backup; }
        }
        #endregion Model
    }
}
